#!/bin/sh

cp .env.example .env

composer update -vvv

php artisan key:generate

chown -R www-data:www-data storage bootstrap

chown -R www-data:www-data public/vendor/dcat-admin

echo "{}" > modules_statuses.json

chown -R www-data:www-data modules_statuses.json modules_versions.json

php artisan admin:install
